<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>
		<script type="text/javascript">
$(function() {
	$("#form1").validate( {
		rules : {
			messageName : {
				required : true
			},
			messageTitle : {
				required : true
			},
			messageType : {
				required : true
			}
		}
	});
});
</script>
	</head>
	<body id="master">
		<form action="${path}/message/mess/index/add" name="form1" method="post">
			<sfa:mainHeader></sfa:mainHeader>
			<div class="main">
				<h1>
					消息类型添加
				</h1>
				<div class="in">
					<table width="100%" border="0" cellspacing="0" cellpadding="10"
						class="table_form">
						<tr>
							<td align="right">
								消息模板
							</td>
							<td>
								<input type="text" name="messageName" size="17" id="messageName"
									value="${messageName}" />
								<span style="color: red">*</span>
							</td>
						</tr>
						<tr>
							<td>
								消息类型名称
							</td>
							<td>
								<input type="text" name="messageTitle" size="17"
									id="messageTitle" value="${messageTitle}" />
								<span style="color: red">*</span>
							</td>
						</tr>
						<tr>
							<td>
								消息类型
							</td>
							<td>
								<input type="text" name="messageType" size="17" id="messageType"
									value="${messageType}" />
								<span style="color: red">*</span>
							</td>
						</tr>
						<tr>
							<td>
								消息类型图标
							</td>
							<td>
								<input type="text" name="messagePictureUrl" size="17"
									id="messagePictureUrl" value="${messagePictureUrl}" />
							</td>
						</tr>
						<tr>
							<td>
								标准推送时间
							</td>
							<td>
								<input type="text" name="standardSendTime" size="17"
									onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
									id="standardSendTime" value="${standardSendTime}" />
							</td>
						</tr>
						<tr>
							<td>
								消息产生时间
							</td>
							<td>
								<input type="text" name="messageOccerTime" size="17"
									onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
									id="messageOccerTime" value="${messageOccerTime}" />
							</td>
						</tr>
						<tr>
							<td>
								日历类型关键字：
							</td>
							<td>
								<input type="text" name="outlookMark" size="17" id="outlookMark"
									value="${outlookMark}" />
								（选填，设置日程类型必填）
							</td>
						</tr>
						<tr>
							<td align="center" colspan="2">
								<input name="Input" type="submit" class="com_btn" value="保  存" />
							</td>
						</tr>
					</table>
				</div>
			</div>
		</form>
		<sfa:mainFooter></sfa:mainFooter>
	</body>
</html>